package com.mnsq.common.bean.entity.book;

import com.mnsq.common.bean.entity.CommonEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 想看书籍
 *
 * @author Administrator
 * @date 2019/1/20 0020
 */
@Data
@Accessors(chain = true)
@Entity
@Table(name = "users_book_list")
public class UsersBookList extends CommonEntity {
    private static final long serialVersionUID = 81097890100918599L;
    @Column(name = "user_id", columnDefinition = "bigint(20) not null comment '用户id'")
    private Long userId;
    @Column(name = "book_id", columnDefinition = "bigint(20) not null comment '书籍id'")
    private Long bookId;
}
